﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using System.Web.Hosting;

namespace ASTouchService
{
    public static class ServerPathHelpers
    {
        public static string GetAbsoluteDataPath(string filename)
        {

            string physPath = HostingEnvironment.ApplicationPhysicalPath;
            String uri = Path.Combine(physPath, @"App_Data", filename);
            return uri;
        }
    }
}